//
//  ImageCell.m
//  FreeTrip
//
//  Created by lanou on 15/11/27.
//  Copyright © 2015年 邓芮. All rights reserved.
//

#import "ImageCell.h"

@implementation ImageCell
- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        
        
        [self setupSubviews];
    }
    return self;
}

- (void)setupSubviews
{
    _imageView = [[UIImageView alloc] initWithFrame:self.bounds];
    _imageView.backgroundColor = [UIColor cyanColor];
    [self.contentView addSubview:_imageView];
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    _imageView.frame = self.bounds;
}
@end
